package com.dabaozhan.modules.wx_app.dao;

import com.dabaozhan.modules.wx_app.entity.SysCategoryEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author houzhong
 * @date 2019-01-09 15:49
 */

@Mapper
public interface SysCategoryMapper extends BaseMapper<SysCategoryMapper> {

    /**
     * 获取所有系统类目
     * @return
     */
    List<SysCategoryEntity> findListSysCategory();

    /**
     * 查询所有一级二级类目
     * @return
     */
    List<SysCategoryEntity> findSysCategory();

}
